package hn.cch.server.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;


@RequestMapping(value = "/api")
@RestController
public class ProducerController {


    @GetMapping(value = "/get/{id}")
    public String get(@PathVariable(value = "id") String id) {
        return id + ':' + id;
    }

}
